{extend name="index_layout"/}
{block name="main"}
<form class="layui-form" method="post">
    <input type="hidden" name="row[id]" value="{$data.id}">

    <div class="layui-form-item">
        <label class="layui-form-label">收货人</label>
        <div class="layui-input-block">
            <input type="text" name="realname" value="{$data.people}"   readonly="readonly" autocomplete="off" placeholder="联系人"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">联系电话</label>
        <div class="layui-input-block">
            <input type="text" name="telphone" value="{$data.phone}"  readonly="readonly" autocomplete="off" placeholder="联系电话"
                   class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">省</label>
        <div class="layui-input-block">
            <input type="text" name="province" value="{$data.province}"  readonly="readonly" autocomplete="off" placeholder="省"
                   class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">市</label>
        <div class="layui-input-block">
            <input type="text" name="city" value="{$data.city}"  readonly="readonly" autocomplete="off" placeholder="市"
                   class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">区</label>
        <div class="layui-input-block">
            <input type="text" name="area" value="{$data.area}"  readonly="readonly" autocomplete="off" placeholder="区"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">详细地址</label>
        <div class="layui-input-block">
            <input type="text" name="address" value="{$data.address}"  readonly="readonly" autocomplete="off" placeholder="详细地址"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">快递公司</label>
        <div class="layui-input-block">
            <select name="row[express_name]">
                <option>请选择快递公司</option>
                {volist name="express" id="vo"}
                <option value="{$vo.name}"
                <?php if( $vo['name'] == $data['express_name']){ ?> selected <?php }?>>{$vo.name}</option>
                {/volist}
            </select>
        </div>
    </div>


    <div class="layui-form-item">
        <label class="layui-form-label">订单编号</label>
        <div class="layui-input-block">
            <input type="text" name="row[express_no]" value="{$data.express_no}" lay-verify="required" autocomplete="off" placeholder="订单编号"
                   class="layui-input" >
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">发货时间</label>
        <div class="layui-input-block">
            <input type="text" name="row[express_no]" value="{$data.express_time}" lay-verify="required" autocomplete="off" placeholder="发货时间"
                   class="layui-input" >
        </div>
    </div>


<!--    <div class="layui-form-item layer-footer">-->
<!--        <div class="layui-input-block">-->
<!--            <button class="layui-btn" lay-submit="">立即提交</button>-->
<!--            <button type="reset" class="layui-btn layui-btn-primary">重置</button>-->
<!--        </div>-->
<!--    </div>-->
</form>
{/block}
{block name="script"}
<script type="text/javascript">
    layui.use(['yznForm','form'], function () {
        var yznForm = layui.yznForm;
        var form = layui.form;
        var $ = layui.jquery;
        yznForm.bindevent($("form.layui-form"));
    });

</script>
{/block}